package org.jeecg.modules.finance.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @Description: 运费结算
 * @Author: jeecg-boot
 * @Date:   2024-04-17
 * @Version: V1.0
 */
@Data
@TableName("wlhy_freight_settlement")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="wlhy_freight_settlement对象", description="运费结算")
public class WlhyFreightSettlement implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
	/**下单用户id*/
	@Excel(name = "下单用户id", width = 15)
    @ApiModelProperty(value = "下单用户id")
    private String orderUserId;
	/**运单id*/
	@Excel(name = "运单id", width = 15)
    @ApiModelProperty(value = "运单id")
    private String waybillId;
	/**运单号*/
	@Excel(name = "运单号", width = 15)
    @ApiModelProperty(value = "运单号")
    private String waybillNo;
	/**提货时间*/
	@Excel(name = "提货时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "提货时间")
    private Date deliveryTime;
	/**预计送达时间*/
	@Excel(name = "预计送达时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "预计送达时间")
    private Date estArrivalTime;
	/**发货人姓名*/
	@Excel(name = "发货人姓名", width = 15)
    @ApiModelProperty(value = "发货人姓名")
    private String shipperName;
	/**发货人电话*/
	@Excel(name = "发货人电话", width = 15)
    @ApiModelProperty(value = "发货人电话")
    private String shipperPhone;
	/**发货人证件号*/
	@Excel(name = "发货人证件号", width = 15)
    @ApiModelProperty(value = "发货人证件号")
    private String shipperIdNum;
	/**发货人地区编码*/
	@Excel(name = "发货人地区编码", width = 15)
    @ApiModelProperty(value = "发货人地区编码")
    private String shipperAreaCode;
	/**发货人地区名称*/
	@Excel(name = "发货人地区名称", width = 15)
    @ApiModelProperty(value = "发货人地区名称")
    private String shipperAreaName;
	/**发货人详细地址*/
	@Excel(name = "发货人详细地址", width = 15)
    @ApiModelProperty(value = "发货人详细地址")
    private String shipperDetailAddr;
	/**发货方经纬度*/
	@Excel(name = "发货方经纬度", width = 15)
    @ApiModelProperty(value = "发货方经纬度")
    private String shipperLnglat;
	/**收货方姓名*/
	@Excel(name = "收货方姓名", width = 15)
    @ApiModelProperty(value = "收货方姓名")
    private String consignerName;
	/**收货方电话*/
	@Excel(name = "收货方电话", width = 15)
    @ApiModelProperty(value = "收货方电话")
    private String consignerPhone;
	/**收件方证件号*/
	@Excel(name = "收件方证件号", width = 15)
    @ApiModelProperty(value = "收件方证件号")
    private String consignerIdNum;
	/**收货方地区编码*/
	@Excel(name = "收货方地区编码", width = 15)
    @ApiModelProperty(value = "收货方地区编码")
    private String consignerAreaCode;
	/**收货方地区名称*/
	@Excel(name = "收货方地区名称", width = 15)
    @ApiModelProperty(value = "收货方地区名称")
    private String consignerAreaName;
	/**收货方详细地址*/
	@Excel(name = "收货方详细地址", width = 15)
    @ApiModelProperty(value = "收货方详细地址")
    private String consignerDetailAddr;
	/**收货方经纬度*/
	@Excel(name = "收货方经纬度", width = 15)
    @ApiModelProperty(value = "收货方经纬度")
    private String consignerLnglat;
	/**货物名称*/
	@Excel(name = "货物名称", width = 15)
    @ApiModelProperty(value = "货物名称")
    private String cargoName;
	/**货物件数*/
	@Excel(name = "货物件数", width = 15)
    @ApiModelProperty(value = "货物件数")
    private Integer cargoPieces;
	/**货物重量*/
	@Excel(name = "货物重量", width = 15)
    @ApiModelProperty(value = "货物重量")
    private BigDecimal cargoWeight;
	/**货物体积*/
	@Excel(name = "货物体积", width = 15)
    @ApiModelProperty(value = "货物体积")
    private BigDecimal cargoVolume;
	/**货物价值*/
	@Excel(name = "货物价值", width = 15)
    @ApiModelProperty(value = "货物价值")
    private BigDecimal cargoPrice;
	/**货物备注*/
	@Excel(name = "货物备注", width = 15)
    @ApiModelProperty(value = "货物备注")
    private String cargoRemark;
	/**代收款*/
	@Excel(name = "代收款", width = 15)
    @ApiModelProperty(value = "代收款")
    private BigDecimal invoicingFee;
	/**代收款支付方式*/
	@Excel(name = "代收款支付方式", width = 15)
    @ApiModelProperty(value = "代收款支付方式")
    private String invoicingPayMode;
	/**是否收取代收款*/
	@Excel(name = "是否收取代收款", width = 15)
    @ApiModelProperty(value = "是否收取代收款")
    private Integer izInvoicingFee;
	/**代收款订单号*/
	@Excel(name = "代收款订单号", width = 15)
    @ApiModelProperty(value = "代收款订单号")
    private String invoicingOrderNum;
	/**实际代收款支付方式*/
	@Excel(name = "实际代收款支付方式", width = 15)
    @ApiModelProperty(value = "实际代收款支付方式")
    private String invoicingRealPayMode;
	/**司机运费*/
	@Excel(name = "司机运费", width = 15)
    @ApiModelProperty(value = "司机运费")
    private BigDecimal driverFreightFee;
	/**结算运费状态*/
	@Excel(name = "结算运费状态", width = 15, dicCode = "settle_freight_status")
	@Dict(dicCode = "settle_freight_status")
    @ApiModelProperty(value = "结算运费状态")
    private String settleFreightStatus;
	/**运费结算时间*/
	@Excel(name = "运费结算时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "运费结算时间")
    private Date settleFreightTime;
	/**运费结算方式*/
	@Excel(name = "运费结算方式", width = 15, dicCode = "settle_freight_mode")
	@Dict(dicCode = "settle_freight_mode")
    @ApiModelProperty(value = "运费结算方式")
    private String settleFreightMode;
	/**是否指派司机*/
	@Excel(name = "是否指派司机", width = 15)
    @ApiModelProperty(value = "是否指派司机")
    private Integer izAssignDriver;
	/**接单时间*/
	@Excel(name = "接单时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "接单时间")
    private Date orderTime;
	/**接单用户*/
	@Excel(name = "接单用户", width = 15)
    @ApiModelProperty(value = "接单用户")
    private String driverUserId;
	/**司机车牌号*/
	@Excel(name = "司机车牌号", width = 15)
    @ApiModelProperty(value = "司机车牌号")
    private String driverVehicleNo;
	/**司机电话*/
	@Excel(name = "司机电话", width = 15)
    @ApiModelProperty(value = "司机电话")
    private String driverPhone;
	/**司机姓名*/
	@Excel(name = "司机姓名", width = 15)
    @ApiModelProperty(value = "司机姓名")
    private String driverName;
	/**司机银行卡*/
	@Excel(name = "司机银行卡", width = 15)
    @ApiModelProperty(value = "司机银行卡")
    private String driverBankId;
	/**司机银行开户名*/
	@Excel(name = "司机银行开户名", width = 15)
    @ApiModelProperty(value = "司机银行开户名")
    private String driverBankHolder;
	/**司机银行卡号*/
	@Excel(name = "司机银行卡号", width = 15)
    @ApiModelProperty(value = "司机银行卡号")
    private String driverBankCardNo;
	/**司机开户银行*/
	@Excel(name = "司机开户银行", width = 15)
    @ApiModelProperty(value = "司机开户银行")
    private String driverBankName;
	/**状态*/
	@Excel(name = "状态", width = 15)
    @ApiModelProperty(value = "状态")
    private String status;
	/**发布公司名称*/
	@Excel(name = "发布公司名称", width = 15)
    @ApiModelProperty(value = "发布公司名称")
    private String companyName;
	/**发布公司logo*/
	@Excel(name = "发布公司logo", width = 15)
    @ApiModelProperty(value = "发布公司logo")
    private String companyLogo;
	/**发布公司id*/
	@Excel(name = "发布公司id", width = 15)
    @ApiModelProperty(value = "发布公司id")
    private String companyId;
}
